 /**
 * Description: 物资管理
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.biz.beans.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.core.beans.entity.BaseEntity;
import java.util.Date;
import com.metro.utils.DateUtil;
 /**
 * 物资管理<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class BizMaterialsManageEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
    //物资编号
    private String materialsCode;
    //物资名称
    private String materialsName;
    //物资类别
    private String materialsType;
    //规格
    private String specification;
    //单位
    private String unit;
    //状态
    private String curStatus;
    //实际库存量
    private Integer stockNum;
    //可用库存量
    private Integer enableStockNum;
    //添加时间
    private Date addTime;

    public String getAddTimeStr() {
        return DateUtil.limitDay(this.addTime);
    }

}
